-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move test model into repo instead of submodule #346
Conversation
We discussed if it is better to |
I think in sopt you are right, having one model there for testing is good enough. After all, it's a library and not something people would directly use. I'm not sure I agree with submodules being too confusing, but I agree that submodules in a library that is intended to be used as a building block for applications does add unnecessary complexity. If Jasons's team want to provide more models in the |
Yes that's a good idea to put the submodule in Purify instead as it fits with the structure that SOPT is the general purpose maths part and Purify is the astrophysics specific application, so I think having one model in this repo for testing and then others can be plugged in through Purify. |
TODO: Instead of updating the submodule, remove it and add the test model to the sopt repo |
My first instinct was to put the model in the |
@SJaffa One place that we can put such binary assets is in a folder typically with a suffix The folder hierarchy should be such that:
We can avoid hard coding the relative paths. Instead, we just set |
Moves the test model and other resources used in testing into a folder within tests, and updates the paths used in tests.